import { request } from "@/utils/";

export const loginAPI = (form) => {
  return request.post("/authorizations", form);
};

export const getUserInfoAPI = () => {
  return request.get("/user/profile");
};
